Masteriyo\Models\Order\Order D

Total Complexity 155
Dependencies 5
Dependents 5
Total lines 1,931
Lines of code 602
Logical lines of code 239
Comment lines 1,115
Methods 101
Properties 2

Methods 101

Method Rating Maintainability Complexity Lines of code
payment_complete()
A
44 8 45
add_order_note()
A
43 7 47
status_transition()
S
45 6 43
set_status()
S
56 6 17
maybe_set_date_paid()
S
58 6 15
add_order_item_totals_refund_rows()
S
61 4 11
update_status()
S
53 3 24
get_customer_order_notes()
S
57 3 17
set_payment_method()
S
58 3 16
maybe_set_user_billing_email()
S
64 4 10
add_order_item_totals_payment_method_row()
S
65 4 8
get_formatted_order_total()
S
63 3 9
get_cancel_endpoint()
S
64 3 10
get_address()
S
55 1 20
get_cancel_order_url()
S
59 1 17
needs_payment()
S
73 2 4
get_formatted_billing_address()
S
71 2 5
get_user()
S
78 2 3
get_customer()
S
79 2 3
get_total_refunded()
S
63 2 10
has_billing_address()
S
79 2 3
get_cancel_order_url_raw()
S
60 1 15
maybe_set_date_completed()
S
74 2 5
set_conversion_total()
S
80 1 3
set_billing_address_2()
S
80 1 3
set_group_ids()
S
80 1 3
set_billing_state()
S
80 1 3
set_billing_city()
S
80 1 3
set_payment_method_title()
S
80 1 3
set_billing_postcode()
S
80 1 3
set_billing_country()
S
80 1 3
set_attachment_id()
S
80 1 3
set_base_currency()
S
80 1 3
set_billing_email()
S
80 1 3
set_billing_phone()
S
80 1 3
is_editable()
S
77 1 3
set_exchange_rate()
S
80 1 3
is_created_via()
S
78 1 3
add_status_transition_note()
S
77 1 3
get_order_item_totals()
S
69 1 7
get_edit_order_url()
S
73 1 4
get_checkout_payment_url()
S
80 1 3
get_view_order_url()
S
74 1 4
get_checkout_order_received_url()
S
71 1 5
get_order_number()
S
78 1 3
set_pricing_method()
S
80 1 3
needs_processing()
S
82 1 3
is_paid()
S
78 1 3
set_billing_company()
S
80 1 3
has_cart_hash()
S
79 1 3
key_is_valid()
S
79 1 3
save()
S
72 1 6
set_billing_address_1()
S
80 1 3
get_object_type()
S
82 1 3
set_billing_last_name()
S
80 1 3
get_order_key()
S
79 1 3
get_billing_city()
S
79 1 3
get_billing_address_2()
S
79 1 3
get_billing_address_1()
S
79 1 3
get_billing_address()
S
80 1 3
get_billing_company()
S
79 1 3
get_billing_last_name()
S
79 1 3
get_billing_first_name()
S
79 1 3
get_cart_hash()
S
79 1 3
get_customer_note()
S
79 1 3
get_customer_user_agent()
S
79 1 3
get_billing_country()
S
79 1 3
get_customer_ip_address()
S
79 1 3
get_created_via()
S
79 1 3
get_date_completed()
S
79 1 3
get_date_paid()
S
79 1 3
get_transaction_id()
S
79 1 3
get_payment_method()
S
79 1 3
get_customer_id()
S
79 1 3
get_expiry_date()
S
79 1 3
get_formatted_billing_full_name()
S
77 1 3
get_billing_postcode()
S
79 1 3
get_billing_state()
S
79 1 3
set_billing_first_name()
S
80 1 3
set_customer_id()
S
79 1 3
set_cart_hash()
S
80 1 3
get_post_type()
S
82 1 3
set_order_key()
S
78 1 3
set_customer_user_agent()
S
80 1 3
set_customer_ip_address()
S
80 1 3
set_created_via()
S
80 1 3
set_date_completed()
S
80 1 3
set_date_paid()
S
80 1 3
set_transaction_id()
S
80 1 3
set_expiry_date()
S
80 1 3
get_billing_email()
S
79 1 3
get_pricing_method()
S
79 1 3
get_exchange_rate()
S
79 1 3
get_base_currency()
S
79 1 3
get_conversion_total()
S
79 1 3
get_group_ids()
S
79 1 3
get_payment_method_title()
S
79 1 3
get_user_id()
S
80 1 3
get_attachment_id()
S
80 1 3
get_billing_phone()
S
79 1 3
set_customer_note()
S
80 1 3